Skip to content

Add support for Junie#1831

Merged
mnriem merged 3 commits intogithub:mainfrom
preigile:support_junie
Mar 19, 2026
Merged

Add support for Junie#1831
mnriem merged 3 commits intogithub:mainfrom
preigile:support_junie

Conversation

@preigile
Copy link
Contributor

Description

Adds support for Junie, an AI agent from JetBrains

Testing

  • Tested locally with uv run specify --help
  • Ran existing tests with uv sync && uv run pytest
  • Tested with a sample project (if applicable)

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (describe below)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Junie as a supported AI agent throughout Specify CLI’s initialization/configuration surfaces, along with documentation, packaging, and devcontainer updates so Junie templates can be generated and released consistently.

Changes:

  • Add junie to runtime agent configuration (AGENT_CONFIG) so specify init --ai junie is supported.
  • Update agent-context update scripts (bash/PowerShell) and release packaging scripts to include Junie artifacts.
  • Update docs (README + AGENTS.md) and devcontainer provisioning to reflect/install Junie.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/specify_cli/__init__.py Adds Junie to core agent metadata used by specify init and tool-check logic.
scripts/powershell/update-agent-context.ps1 Adds Junie to supported agent types for context updates.
scripts/bash/update-agent-context.sh Adds Junie to supported agent types for context updates.
README.md Documents Junie as a supported agent and updates CLI option examples/tool-check list.
AGENTS.md Documents Junie in the supported agent table and categorization lists.
.github/workflows/scripts/create-release-packages.sh Generates Junie template packages in .junie/commands.
.github/workflows/scripts/create-release-packages.ps1 PowerShell equivalent Junie packaging support.
.github/workflows/scripts/create-github-release.sh Publishes Junie zip artifacts in the GitHub release step.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer setup.
Comments suppressed due to low confidence (1)

scripts/bash/update-agent-context.sh:725

  • This block updates $AGENTS_FILE (AGENTS.md) earlier and then updates $JUNIE_FILE as well, but $JUNIE_FILE currently resolves to the same AGENTS.md path. That results in two sequential updates to the same file in one run, which can introduce duplicate "Recent Changes" entries. Ensure Junie uses a distinct context file path, or remove this second update when the target is shared.

    if [[ -f "$JUNIE_FILE" ]]; then
        update_agent_file "$JUNIE_FILE" "Junie"
        found_agent=true
    fi

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback and resolve conflicts

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class support for the Junie agent across the Specify CLI’s agent configuration, command registration, documentation, devcontainer setup, and release packaging scripts.

Changes:

  • Register Junie as a supported agent (CLI config + extension command directory/format metadata).
  • Update agent context update scripts (bash + PowerShell) and documentation to include Junie.
  • Include Junie in release package generation and GitHub release artifact lists; install Junie CLI in the devcontainer.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/specify_cli/extensions.py Adds Junie to extension command registrar config (.junie/commands, markdown).
src/specify_cli/__init__.py Adds Junie to AGENT_CONFIG so specify init/check recognize it.
scripts/powershell/update-agent-context.ps1 Adds Junie support to agent context update flow and CLI arg validation.
scripts/bash/update-agent-context.sh Adds Junie support to agent context update flow and help text.
README.md Documents Junie as a supported agent and includes it in CLI usage/examples.
AGENTS.md Documents Junie integration details and updates supported-agent lists.
.github/workflows/scripts/create-release-packages.sh Generates Junie template packages and includes it in the agent list.
.github/workflows/scripts/create-release-packages.ps1 Generates Junie template packages and includes it in the agent list.
.github/workflows/scripts/create-github-release.sh Uploads Junie template zips as part of GitHub releases.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer setup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@preigile preigile requested a review from mnriem March 17, 2026 16:54
@mnriem mnriem requested a review from Copilot March 17, 2026 17:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds Junie (JetBrains) as a supported AI agent across the Specify CLI, agent-context update scripts, release packaging scripts, and documentation.

Changes:

  • Add junie to the CLI agent configuration and supported-agent documentation.
  • Update bash/PowerShell agent-context update scripts to recognize Junie and write/update a Junie-specific context file.
  • Update release packaging workflows to generate Junie template artifacts; install Junie CLI in the devcontainer.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/specify_cli/init.py Adds Junie to runtime agent configuration (init/check).
scripts/powershell/update-agent-context.ps1 Adds Junie handling for context file updates.
scripts/bash/update-agent-context.sh Adds Junie handling for context file updates.
README.md Documents Junie as supported and updates CLI reference/examples.
AGENTS.md Documents Junie in supported agent matrix and tool requirements.
.github/workflows/scripts/create-release-packages.sh Generates Junie release templates.
.github/workflows/scripts/create-release-packages.ps1 Generates Junie release templates (PowerShell).
.github/workflows/scripts/create-github-release.sh Uploads Junie template zip artifacts to GitHub Releases.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer environment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback. If not applicable please explain why

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Junie (JetBrains) as a supported agent across the Specify CLI, project scaffolding/release packaging, and documentation so users can generate Junie command templates and related context files consistently.

Changes:

  • Added junie to the CLI agent registry (AGENT_CONFIG) and documented it in README.md / AGENTS.md.
  • Extended agent-context update scripts (bash + PowerShell) to recognize and update Junie’s context file.
  • Updated release packaging scripts (sh + ps1) and GitHub release artifact list to build/publish Junie template zips; updated devcontainer setup to install Junie CLI.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/specify_cli/__init__.py Registers junie in AGENT_CONFIG for specify init / tool detection.
scripts/powershell/update-agent-context.ps1 Adds Junie to supported agent set and updates .junie/AGENTS.md.
scripts/bash/update-agent-context.sh Adds Junie support and path for .junie/AGENTS.md.
README.md Documents Junie as a supported agent and updates CLI option examples.
AGENTS.md Documents Junie in the supported agent matrix and CLI tool requirements.
.github/workflows/scripts/create-release-packages.sh Builds Junie template archives with generated command files.
.github/workflows/scripts/create-release-packages.ps1 PowerShell equivalent packaging support for Junie.
.github/workflows/scripts/create-github-release.sh Publishes Junie template zips in GitHub releases.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer setup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@preigile preigile requested a review from mnriem March 19, 2026 12:24
@mnriem mnriem requested a review from Copilot March 19, 2026 13:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class support for the JetBrains Junie agent across the Specify CLI agent registry, release packaging scripts, devcontainer tooling, and user-facing documentation.

Changes:

  • Register junie as a supported agent (agent config + command registration metadata).
  • Include Junie in release packaging + GitHub release artifact lists.
  • Update docs/scripts/devcontainer setup to recognize and install/use Junie.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/specify_cli/agents.py Adds Junie to CommandRegistrar.AGENT_CONFIGS so commands can be written to .junie/commands.
src/specify_cli/__init__.py Adds Junie to AGENT_CONFIG for specify init/check and agent metadata.
scripts/powershell/update-agent-context.ps1 Adds Junie handling for agent context updates (but introduces a validation bug).
scripts/bash/update-agent-context.sh Adds Junie handling for agent context updates (doc list drift).
README.md Documents Junie as a supported agent and updates CLI reference examples.
AGENTS.md Documents Junie’s directory/CLI tool and format usage.
.github/workflows/scripts/create-release-packages.sh Builds Junie template archives for sh/ps variants.
.github/workflows/scripts/create-release-packages.ps1 Builds Junie template archives for sh/ps variants.
.github/workflows/scripts/create-github-release.sh Uploads Junie template archives as release assets.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback. Make sure to pull in the latest changes from main

@preigile preigile requested a review from mnriem March 19, 2026 16:13
@mnriem mnriem requested a review from Copilot March 19, 2026 16:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mnriem mnriem requested a review from Copilot March 19, 2026 16:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class support for JetBrains Junie across Specify’s agent configuration, command registration, packaging, and documentation surfaces.

Changes:

  • Add junie to runtime agent config and extension/preset command registration targets.
  • Teach update-agent-context scripts and release packaging scripts to recognize/generate Junie outputs.
  • Document Junie support in README.md and AGENTS.md, and install Junie CLI in the devcontainer.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/specify_cli/agents.py Registers Junie command output directory/format for extension & preset command writing.
src/specify_cli/init.py Adds Junie to AGENT_CONFIG (folder/subdir/install URL/CLI requirement).
scripts/powershell/update-agent-context.ps1 Adds Junie as a supported agent type and context file target.
scripts/bash/update-agent-context.sh Adds Junie as a supported agent type and context file target.
README.md Lists Junie as supported; updates CLI reference examples to mention junie.
AGENTS.md Documents Junie directory/format/CLI and markdown-format agent list.
.github/workflows/scripts/create-release-packages.sh Generates Junie command templates in release zips and includes it in agent list.
.github/workflows/scripts/create-release-packages.ps1 PowerShell equivalent: Junie in agent list and command generation.
.github/workflows/scripts/create-github-release.sh Adds Junie template zip artifacts to GitHub release creation.
.devcontainer/post-create.sh Installs Junie CLI via npm in devcontainer setup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +187 to +193
"junie": {
"name": "Junie",
"folder": ".junie/",
"commands_subdir": "commands",
"install_url": "https://junie.jetbrains.com/",
"requires_cli": True,
},
Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please apply Copilot feedback. You are almost there!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class support for the JetBrains Junie agent across Specify CLI runtime configuration, command registration, context-update scripts, and release packaging so Junie projects can be initialized and distributed like other supported agents.

Changes:

  • Register a new junie agent in both runtime (AGENT_CONFIG) and extension/preset command registration (CommandRegistrar.AGENT_CONFIGS).
  • Extend agent-context update scripts (bash + PowerShell) and release packaging scripts (bash + PowerShell + GitHub release asset list) to include Junie.
  • Update documentation and devcontainer setup to reflect/install Junie support.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/specify_cli/agents.py Adds junie to CommandRegistrar.AGENT_CONFIGS so extensions/presets can generate Junie command files.
src/specify_cli/init.py Adds junie to AGENT_CONFIG so specify init/check recognize Junie as a supported agent.
scripts/powershell/update-agent-context.ps1 Adds junie to the supported agent set and wires .junie/AGENTS.md into update logic.
scripts/bash/update-agent-context.sh Adds junie handling and .junie/AGENTS.md path support to the bash updater.
README.md Documents Junie as a supported agent and includes it in CLI option examples.
AGENTS.md Documents Junie’s command directory and CLI requirement in the agent support matrix.
.github/workflows/scripts/create-release-packages.sh Adds Junie variant packaging (generates .junie/commands) and includes it in agent lists.
.github/workflows/scripts/create-release-packages.ps1 Adds Junie variant packaging and includes it in the PowerShell agent list/switch.
.github/workflows/scripts/create-github-release.sh Adds Junie template zip artifacts to the GitHub release creation command.
.devcontainer/post-create.sh Installs the Junie CLI in the devcontainer provisioning script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mnriem mnriem self-requested a review March 19, 2026 16:53
@mnriem mnriem merged commit 34171ef into github:main Mar 19, 2026
16 checks passed
@mnriem
Copy link
Collaborator

mnriem commented Mar 19, 2026

Thank you! Amazing work.

kanfil added a commit to tikalk/agentic-sdlc-spec-kit that referenced this pull request Mar 20, 2026
Upstream changes merged:
- feat: add Junie agent support (github#1831)
- feat: add timestamp-based branch naming option (--branch-numbering) (github#1911)
- fix: Align native skills frontmatter with install_ai_skills (github#1920)
- docs: add Extension Comparison Guide for community extensions (github#1897)
- docs: update SUPPORT.md, fix issue templates, add preset submission template (github#1910)

Tikalk customizations preserved:
- Orange theme (ACCENT_COLOR = #f47721)
- --team-ai-directives CLI parameter
- Skills package manager (specify skill subcommand)
- Bundled extensions/presets installation
- Pre-Installed Extensions panel

Version: 0.1.16
kanfil added a commit to tikalk/agentic-sdlc-spec-kit that referenced this pull request Mar 20, 2026
…v0.1.16)

Upstream changes (6 commits):
- feat: add Junie agent support (github#1831)
- feat: add timestamp-based branch naming option (--branch-numbering timestamp) (github#1911)
- fix: Align native skills frontmatter with install_ai_skills (github#1920)
- docs: add Extension Comparison Guide for community extensions (github#1897)
- docs: update SUPPORT.md, fix issue templates, add preset submission template (github#1910)
- docs: update publishing guide with Category and Effect columns (github#1913)

Tikalk customizations preserved:
- Orange branding theme (#f47721)
- --team-ai-directives CLI parameter
- Skills package manager (specify skill subcommand)
- Bundled extensions/presets installation
- --contracts/--data-models script options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants